//
//  ZSShopCell.m
//  PuBuLiu
//
//  Created by @Zs on 15/12/26.
//  Copyright © 2015年 @Zs. All rights reserved.
//

#import "ZSShopCell.h"
#import "ZSShop.h"
#import "UIImageView+WebCache.h"

@interface ZSShopCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;

@end


@implementation ZSShopCell

-(void)setShop:(ZSShop *)shop{
    
    _shop = shop;
    self.priceLabel.text = shop.price;
    [self.iconView sd_setImageWithURL:[NSURL URLWithString:shop.img] placeholderImage:[UIImage imageNamed:@"loading"]];
    
}


@end
